const buffer1 = Buffer.alloc(10)
console.log(buffer1)

const buffer2 = Buffer.from('a')
console.log(buffer2);

const buffer3 = Buffer.from('凯')
console.log(buffer3);  //utf-8 